# 需求的最低cmake程序版本
cmake_minimum_required(VERSION 3.12)

# 本工程的名字
project(OpenGL_lecture)

# 设置C++标准
set(CMAKE_CXX_STANDARD 11)

set(CMAKE_CXX_STANDARD_REQUIRED ON)

# include路径加上
include_directories(
	SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/thirdParty/include
)
LINK_DIRECTORIES(
	SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/thirdParty/lib
)

 
# 加入lib库
# 添加可执行文件
add_executable(openglStudy "main.cpp" "glad.c")
target_link_libraries(openglStudy glfw3)
